/**
 * 学习双向绑定的组件如何写
 */
import ldmInput from "../../components/ldmInput/ldmInput.vue"
import ldmSelect from "../../components/ldmSelect/ldmSelect.vue"
export default {
  name: "ldmPage",
  components:{
    ldmInput,
    ldmSelect
  },
  data:function () {
    return({
      selectedItem:null,
      ldmInputValue:"",
      selectedData:[{
        id:1,
        name:"one"
      },{
        id:2,
        name:"two"
      },{
        id:3,
        name:"three"
      },{
        id:11,
        name:"oneone"
      },{
        id:22,
        name:"twotwo"
      },{
        id:33,
        name:"threethree"
      }],
      listModel:null,
      list:["以","222222","1231132","0"]
    })
  },
  methods:{
    getItem:function (item) {
      let _this = this;
      console.info(item);
    },
    getListItem:function (item) {
      console.info(item);
    }
  }
}
